package io.renren.modules.generator.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;

/**
 * 
 * 
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2018-12-17 14:24:47
 */
@TableName("orders_group")
@Data
public class OrdersGroupEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId
	private Integer id;
	/**
	 * 订单组编码
	 */
	private String orderGroupNumber;
	/**
	 * 车型
	 */
	private Integer vehicleId;

	@TableField(exist = false)
	private String vehicleName;
	@TableField(exist = false)
	private Double vehicleVolume;
	@TableField(exist = false)
	private Double vehicleWeight;
	@TableField(exist = false)
	private Double vehicleNumberOfPlates;



	private String fromDtAreaIds;
	private String fromDtAreaNames;
	@TableField(exist = false)
	private Double orderTotalVolume;
	@TableField(exist = false)
	private Double orderTotalWeight;

	@TableField(exist = false)
	private Double orderTotalPlatesNumber;

	@TableField(exist = false)
	private Double orderTotalQuantity;

	private String  fromDate;
	private String toDate;

	private String toDtAreaIds;
	private String toDtAreaNames;

	/**
	 * 更新时间
	 */
	private String lastModifiedTime;
	/**
	 * 创建人
	 */
	private String createdBy;
	/**
	 * 创建时间
	 */
	private String createdTime;
	/**
	 * 状态
	 */
	private String status;
	/**
	 * 预留字段1
	 */
	private String extendFirst;
	/**
	 * 预留字段2
	 */
	private String extendSecond;
	/**
	 * 备注
	 */
	private String remark;

	/**
	 * 订单id
	*/
	@TableField(exist = false)
	private Set<Integer> orderIds = new HashSet<>();






	/**
	 * 设置：
	 */
	public void setId(Integer id) {
		this.id = id;
	}
	/**
	 * 获取：
	 */
	public Integer getId() {
		return id;
	}
	/**
	 * 设置：订单组编码
	 */
	public void setOrderGroupNumber(String orderGroupNumber) {
		this.orderGroupNumber = orderGroupNumber;
	}
	/**
	 * 获取：订单组编码
	 */
	public String getOrderGroupNumber() {
		return orderGroupNumber;
	}
	/**
	 * 设置：车型
	 */
	public void setVehicleId(Integer vehicleId) {
		this.vehicleId = vehicleId;
	}
	/**
	 * 获取：车型
	 */
	public Integer getVehicleId() {
		return vehicleId;
	}

	/**
	 * 设置：更新时间
	 */
	public void setLastModifiedTime(String lastModifiedTime) {
		this.lastModifiedTime = lastModifiedTime;
	}
	/**
	 * 获取：更新时间
	 */
	public String getLastModifiedTime() {
		return lastModifiedTime;
	}
	/**
	 * 设置：创建人
	 */
	public void setCreatedBy(String createdBy) {
		this.createdBy = createdBy;
	}
	/**
	 * 获取：创建人
	 */
	public String getCreatedBy() {
		return createdBy;
	}
	/**
	 * 设置：创建时间
	 */
	public void setCreatedTime(String createdTime) {
		this.createdTime = createdTime;
	}
	/**
	 * 获取：创建时间
	 */
	public String getCreatedTime() {
		return createdTime;
	}
	/**
	 * 设置：状态
	 */
	public void setStatus(String status) {
		this.status = status;
	}
	/**
	 * 获取：状态
	 */
	public String getStatus() {
		return status;
	}
	/**
	 * 设置：预留字段1
	 */
	public void setExtendFirst(String extendFirst) {
		this.extendFirst = extendFirst;
	}
	/**
	 * 获取：预留字段1
	 */
	public String getExtendFirst() {
		return extendFirst;
	}
	/**
	 * 设置：预留字段2
	 */
	public void setExtendSecond(String extendSecond) {
		this.extendSecond = extendSecond;
	}
	/**
	 * 获取：预留字段2
	 */
	public String getExtendSecond() {
		return extendSecond;
	}
	/**
	 * 设置：备注
	 */
	public void setRemark(String remark) {
		this.remark = remark;
	}
	/**
	 * 获取：备注
	 */
	public String getRemark() {
		return remark;
	}
}
